package edu.Methods;

public class method3 {
    public static int summer(){
        int sum=0;
        for (int i = 0; i <= 100; i++) {
            sum += i;
        }
        return sum;
    }

    public static void main(String[] args) {
        int a = summer();
        System.out.println(a);
    }
}
